package com.slz3.business.module.configManagement.conActivityIndex.service;

import com.slz3.business.module.configManagement.conActivityIndex.domain.ConActivityIndex;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface ConActivityIndexService {

    ConActivityIndex save(ConActivityIndex conActivityIndex);

    Page<ConActivityIndex> page(MultiValueMap<String,String> queryParams);

    ConActivityIndex modify(ConActivityIndex conActivityIndex);

    Optional<ConActivityIndex> single(UUID uuid);

    List<ConActivityIndex> findAllByUuids(Iterable<UUID> uuids);

    List<ConActivityIndex> delete(List<ConActivityIndex> conActivityIndexList);
}
